import random
def abc(i):
    abcd=["零","一","二","三","四","五","六","七","八","九","十","百","千","万"]
    return abcd[i]

a=[]
for i in range(7):
    a.append(random.randint(1,1))

b=[]
for i in range(7):
    color="红"
    v=i+1
    if i==6: 
        color="蓝"
        v=i+1-6
    b.append(int(input(f"{color}{abc(v)}球号码:")))

same_num=0
rank=7
for i in range(7):
   if a[i] == b[i]:
       same_num+=1
rank=7-same_num

print(f"中奖号码:{a}")
print(f"你的号码:{b}")
if rank+1>=8:
    print(f"没有中等奖")
else:
    print(f"{abc(rank+1)}等奖")
print(f"中了{abc(same_num)}个")